package com.sun.myexception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

@ResponseStatus(reason = "错误的用户名",value = HttpStatus.NOT_ACCEPTABLE)
public class MyException extends RuntimeException {

    private static final long serialVersionUID = -7975192662381630239L;

}
